<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>update</title>
</head>
<body>
<form action="/hobby/save" method="post">
    <lable>ID</lable>
    <input type="text" name="id" readonly th:value="${hobby.id}">
    <lable>Name</lable>
    <input type="text" name="name" th:value="${hobby.name}">
    <lable>Hhobby</lable>
    <input type="text" name="hhobby" th:value="${hobby.hhobby}">
    <input type="submit" value="更新">
</form>
</body>
</html>